﻿// --------------------------------------------------------------------------------------------------------------------
// <summary>
//   The file contains a class that used to treat style cop settings
// </summary>
// <copyright file="ApplicationResources.cs" company="DSSoftLogic">
//   Copyright@ DSSoftLogic 2011, Non-Commercial. All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
namespace Property.ShellApplication.Assets.Resources
{
    using System.Diagnostics.CodeAnalysis;

    /// <summary>
    /// Wraps access to the strongly-typed resource classes so that you can bind control properties to resource strings in XAML.
    /// </summary>
    public sealed class ApplicationResources
    {
        /// <summary>
        /// The application strings.
        /// </summary>
        [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1311:StaticReadonlyFieldsMustBeginWithUpperCaseLetter", Justification = "Reviewed. Suppression is OK here.")]
        private static readonly ApplicationStrings applicationStrings = new ApplicationStrings();

        /// <summary>
        /// The error resources.
        /// </summary>
        [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1311:StaticReadonlyFieldsMustBeginWithUpperCaseLetter", Justification = "Reviewed. Suppression is OK here.")]
        private static readonly ErrorResources errorResources = new ErrorResources();

        /// <summary>
        /// Gets the <see cref="ApplicationStrings"/>.
        /// </summary>
        public ApplicationStrings Strings
        {
            get { return applicationStrings; }
        }

        /// <summary>
        /// Gets the <see cref="ErrorResources"/>.
        /// </summary>
        public ErrorResources Errors
        {
            get { return errorResources; }
        }
    }
}
